<script type="text/javascript" src="manage/security/user/editAuthorization2User.js" charset="utf-8" ></script>
<script type="text/javascript" src="manage/security/program/program.js" charset="utf-8" ></script>
<script type="text/javascript" src="manage/security/role/role.js" charset="utf-8" ></script>
<style>
	#permissionFlags{
		display: inline-block;
	}
	#permissionFlags .icon{
		padding: 1px 15px 1px 0px;
	}
 
	#permissionFlags .effective, #authorization2userGrid .effective{
		background-color:#0000FF;
	}
	
	#permissionFlags .toExpire, #authorization2userGrid .toExpire{
		background-color:#FFA500;
	}
	
	#permissionFlags .expired, #authorization2userGrid .expired{
		background-color:gray;
	}
	
	#permissionFlags .i18n,#permissionFlagsInvalid{
		display: inline-block;
		margin-left:3px;
		margin-right:5px;
	}
	#authorization2userGrid .icon
	{
		height:15px;
		display: block;
	}
	#userInfoForm input[readonly="readonly"] {
	    border: 0px;
	}
</style>
	<div class="ccay-form-body">
	 	<input type="hidden"  name="userId" id ="userId" value=""/>
		 <ul>
		 	<li class='ccay-form-row'>
		 	 <samp class="i18n" i18nKey="ccay.common.label.username"></samp>
		 	  <span class='ccay-form-input'>
		 	  	<input type="text" id="DIS_userName" readonly="readonly" />
		 	  </span>
		 	 </li>
		 	 <li class='ccay-form-row'>
		 	 <samp class="i18n" i18nKey="ccay.common.label.userDisplayName"></samp>
		 	  <span class='ccay-form-input'>
		 	  	<input type="text" id="DIS_displayName" readonly="readonly" />
		 	  </span>
		 	 </li>
		 	 <li class='ccay-form-row'>
		 	 <samp class="i18n" i18nKey="ccay.common.label.phone"></samp>
		 	  <span class='ccay-form-input'>
		 	  	<input type="text" id="DIS_phone" readonly="readonly" />
		 	  </span>
		 	 </li>
		 </ul>
	 </div>
 
<!--grid操作区域-->
<div class="ccay-grid">
 <div class="ccay-grid-toolbar">
 	<span class="ccay-button init" id="authBtnAdd" >
 		<a class="ccay-icon add"></a>
 		<label class="i18n" i18nKey="ccay.common.button.gridAdd" ></label>
 	</span>
 	<span class="ccay-button init" id="authBtnDelete">
 		<a class="ccay-icon pre-del"></a>
 		<label class="i18n" i18nKey="ccay.common.button.gridDelete"></label>
 	</span>
 	<span class="ccay-button init" id="authBtnUndoDel">
 		<a class="ccay-icon undel"></a>
 		<label class="i18n" i18nKey="ccay.common.button.gridUndoDelete"></label>
 	</span>
 	<span class="ccay-button init" id="authBtnSave">
 		<a class="ccay-icon save"></a>
 		<label class="i18n" i18nKey="ccay.common.button.gridSave"></label>
 	</span>
   <span style="float:right" id="permissionFlags">
		<span class="icon effective"></span>
		<span class="i18n" i18nKey="ccay.security.label.userEffective"></span>
		<span class="icon toExpire"></span>
		<span class="i18n" i18nKey="ccay.security.label.userOverdue"></span>
		<span class="icon expired"></span>
		<span class="i18n" i18nKey="ccay.security.label.userExpired"></span>
	</span>
	<span style="float:right" id="permissionFlagsInvalid">
		<span class="icon "><a class="ccay-icon i18n invalid" i18nKey="ccay.security.label.inefficacy" i18nfor="title"></a></span>
		<span class="i18n" i18nKey="ccay.security.label.inefficacy"></span>
	</span>
 </div>
<div id="authorization2userGrid">
</div>
</div>
<br>
<div align="center">
		&nbsp;&nbsp;
		<span class="ccay-button" onclick="ccay.security.user.list.closeTab()">
			<a class="ccay-icon back"></a>
			<label class="i18n" i18nKey="ccay.common.button.back"></label>
		</span>
</div>
<br>











